package create_pattern.build_pattern.simple_factory_pattern;

/**
 * 折线图类：具体产品类
 */
public class LineChart implements Chart{
    @Override
    public void display() {
        System.out.println("显示折线图");
    }

    public LineChart() {
        System.out.println("创建折线图");
    }
}
